home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8556 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  36 lines

  1. Newsgroups: comp.lang.c++
  2. Path: ncrgw2.ncr.com!ncrhub6!daynews!ranger!news
  3. From: Jeff Miko <jeffmiko@erinet.com>
  4. Subject: Attention NEWBIES - Helpful Info on API Calls
  5. X-Nntp-Posting-Host: 192.127.53.180
  6. Content-Type: text/plain; charset=us-ascii
  7. Message-ID: <DMxH63.5yz@ranger.daytonoh.attgis.com>
  8. Sender: news@ranger.daytonoh.attgis.com (News Administrative Login)
  9. Content-Transfer-Encoding: 7bit
  10. Organization: AT&T Global Information Solutions
  11. Mime-Version: 1.0
  12. Date: Sat, 17 Feb 1996 16:15:39 GMT
  13. X-Mailer: Mozilla 1.22 (Windows; U; 32bit)
  14.  
  15. I finally found the answer to my question I posted here a while 
  16. back, ALL BY MYSELF.  I thought I would share this info.
  17.  
  18. It was a simple answer, but took me several days.
  19.  
  20. When you call an API, not only must you include the header 
  21. file, but you must also modify your build settings to include 
  22. the .LIB file.  I didn't know that!!  (dumb of me)
  23.  
  24. From the BUILD menu select settings.  Select the LINK tab and 
  25. select the INPUT category.  In the box under Object/Library 
  26. Files type the library file name of any DLL's you are calling.
  27.  
  28. Example:  I was calling the MPR.DLL file so in the 
  29. Object/Library Files I put MPR.LIB
  30.  
  31. If anyone needs further explanation, send me an e-mail.
  32.  
  33. P.S.  I've been helped a lot by this newsgroup, so i'm just 
  34. trying to give back a little
  35.  
  36.